package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.entity.NursingProjectPagePram;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProject
 * @Author Bafeii7
 * @Date 2025-05-08 11:00
 */
@Mapper
public interface NursingProjectMapper {
    Page<NursingProject> ListByPage(NursingProjectPagePram nursingProjectPagePram);

    void addProject(NursingProject np);

    NursingProject getProjectById(Long id);

    void updateProject(NursingProject np);

    void updateStatus(Long id, Integer status);

    void delete(Long id);

    List<NursingProjectVo> listAll();

    Integer countById(Long id);
}
